package accountManagementNew.common.vo;

import accountManagementNew.common.enums.UserStatusEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

/**
 * @Author：lihonbin
 * @version：2025/9/3
 * @description 用户VO（用于返回给前端的用户数据）
 */
@Data
@Schema(description = "用户VO")
public class UserVO {
    @Schema(description = "用户ID")
    private String id;
    
    @Schema(description = "用户名")
    private String username;

    @Schema(description = "密码")
    private String password;

    @Schema(description = "邮箱")
    private String email;
    
    @Schema(description = "手机号")
    private String phone;
    
    @Schema(description = "昵称")
    private String nickname;
    
    @Schema(description = "性别（0：女 1：男 2：保密）")
    private Integer gender;
    
    @Schema(description = "头像地址")
    private String avatarUrl;
    
    @Schema(description = "用户状态")
    private UserStatusEnum status;
    
    @Schema(description = "注册时间")
    private Date registerTime;
    
    @Schema(description = "最后登录时间")
    private Date lastLogin;
}